import java.util.Scanner;

public class demo01 {
    //一元三次方程求解
    public static int a;
    public static int b;
    public static int c;
    public static int d;
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        a=sc.nextInt();
        b=sc.nextInt();
        c=sc.nextInt();
        d=sc.nextInt();
        for (double i = -100.00; i < 100.00; i++) {
            if(func(i)*func(i+1)<0){
                double num=check(i,i+1);
                System.out.printf("%.2f ",num);
            }else if (func(i)==0){
                System.out.printf("%.2f ",i);
            }
        }
    }
    public static double check(double left,double right){
        double mid=0;
        while (left<right){
            mid=(left+right)/2;
            if(func(mid)*func(left)<=0){
                right=mid;
            }else{
                left=mid;
            }
        }
        return mid;
    }
    public static double func(double i){
        return (a*i*i*i+b*i*i+c*i+d);
    }}
